<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%@ page import="com.conversationboard.model.*" %>
<%@ page import="com.conversationboard.view.*" %>
<%@ page import="com.conversationboard.config.*" %>
<%@ page import="com.conversationboard.controller.confirm.Confirm"%>

<%@page pageEncoding="UTF-8"%>
<%@page contentType="text/html;charset=UTF-8"%>

<html>

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<title>Remove User From Closed Board</title>
	<link rel="stylesheet" type="text/css" href="<%=Configuration.getInstance().getRoot()%>/Stylesheets/<%=StyleSheets.getStyleSheetFileName(request.getCookies())%>">
</head>

	<%= MainMenu.display(request.getUserPrincipal()) %>

	<body>
	
		<div class="headingblock">
			<h1>Remove a User from Board</h1>
		</div>
	
		<div class="mainblock">

			<form class="formsection" action="<%=Configuration.getInstance().getRoot()%>/Admin/AdminRemoveUserFromClosedBoardControllerServlet" method="post">
			
				<input type="hidden" name="boardid" value="${board.boardId}" />
				<%= Confirm.getKey(request.getUserPrincipal().getName()) %>
			
				<table class="table">

					<tr class="header">
						<th class="cell">User</th>
						<th class="cell">Delete</th>
					</tr>

					<c:forEach var="member" items="${members}">
						<tr class="row">
							<td class="cell">${member}</td>
							<td class="cell"><input type="radio" name="member" value="${member}"></input></td>
						</tr>
					</c:forEach>
					
				</table>
				
				<br />
			 	<input type="submit" value="      Remove User      " />
			 					
			</form>

		</div>

		<!--<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>-->
		<!--<script type="text/javascript">_uacct = "UA-1148679-1";urchinTracker();</script>--> 
		
	</body>

</html>
